package com.example.demo.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.example.demo.VO.PermissionsVO;
import com.example.demo.entity.Role_permissions;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hanfei
 * @since 2020-04-08
 */
@Repository
public interface Role_permissionsMapper extends BaseMapper<Role_permissions> {
                int deletByRoleid(String roleid);
                List<PermissionsVO> findByRoleid(String roleid);
}
